Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Propagate subrequest stats #257

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Propagate subrequest stats #257

wants to merge 4 commits into from

Conversation

drio18
Copy link
Contributor

@drio18 drio18 commented May 17, 2023

Here, we make a small update to functions involved in request.embed() to propagate the parent requests stats to the subrequest and do some minor refactoring.

Hit this bug when refactoring spreadsheet download code in cgap-portal previously written by Alex B. (see his comments here).

Note: wrapped propagation of the new attribute in a try/except clause to be conservative here given how central the function involved is.

Copy link
Member

@willronchetti willronchetti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So long as this passes tests/deploys the change should be fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants